import { createApp } from 'vue'
import App from './App.vue'
import Router from './router'
import {
    Tabbar, TabbarItem, Image as VanImage, Switch,
    Icon, Search, Toast, Tab, Divider, Popover,
    Tabs, Col, Row, List, Overlay, Cell, Sticky,
    Loading, IndexBar, IndexAnchor, Tag, Dialog,
    Form, Field, CellGroup, Button, Skeleton, Uploader,
    Swipe, SwipeItem, Grid, GridItem, ImagePreview
}
    from 'vant';
import 'vant/lib/index.css';

createApp(App)
    .use(Router)
    .use(Toast)
    .use(Grid)
    .use(SwipeItem)
    .use(Swipe)
    .use(Skeleton)
    .use(ImagePreview)
    .use(GridItem)
    .use(Tag)
    .use(Cell)
    .use(Uploader)
    .use(Dialog)
    .use(Switch)
    .use(Form)
    .use(Field)
    .use(Sticky)
    .use(CellGroup)
    .use(TabbarItem)
    .use(Button)
    .use(Tabbar)
    .use(Icon)
    .use(Search)
    .use(Tabs)
    .use(IndexBar)
    .use(IndexAnchor)
    .use(Loading)
    .use(Tab)
    .use(Col)
    .use(Row)
    .use(List)
    .use(Overlay)
    .use(VanImage)
    .use(Divider)
    .use(Popover)
    .mount('#app')
